package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 乘客端APP优化对象 tb_fare
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbFare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用ID */
    private Long fareId;

    /** 乘客端APP名称 */
    @Excel(name = "乘客端APP名称")
    private String fareAppName;

    /** 乘客端APP版本号 */
    @Excel(name = "乘客端APP版本号")
    private String fareAppVersions;

    /** versioncode */
    @Excel(name = "versioncode")
    private String codeNum;

    /** 上线系统 */
    @Excel(name = "上线系统")
    private Long systemOnline;

    /** 安装包 */
    @Excel(name = "安装包")
    private String appUpload;

    /** 是否强制更新 */
    @Excel(name = "是否强制更新")
    private Long status;

    /** 更新文案 */
    @Excel(name = "更新文案")
    private String updateCopy;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setFareId(Long fareId) 
    {
        this.fareId = fareId;
    }

    public Long getFareId() 
    {
        return fareId;
    }

    public void setFareAppName(String fareAppName) 
    {
        this.fareAppName = fareAppName;
    }

    public String getFareAppName() 
    {
        return fareAppName;
    }

    public void setFareAppVersions(String fareAppVersions) 
    {
        this.fareAppVersions = fareAppVersions;
    }

    public String getFareAppVersions() 
    {
        return fareAppVersions;
    }

    public void setCodeNum(String codeNum) 
    {
        this.codeNum = codeNum;
    }

    public String getCodeNum() 
    {
        return codeNum;
    }

    public void setSystemOnline(Long systemOnline) 
    {
        this.systemOnline = systemOnline;
    }

    public Long getSystemOnline() 
    {
        return systemOnline;
    }

    public void setAppUpload(String appUpload) 
    {
        this.appUpload = appUpload;
    }

    public String getAppUpload() 
    {
        return appUpload;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setUpdateCopy(String updateCopy) 
    {
        this.updateCopy = updateCopy;
    }

    public String getUpdateCopy() 
    {
        return updateCopy;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fareId", getFareId())
            .append("fareAppName", getFareAppName())
            .append("fareAppVersions", getFareAppVersions())
            .append("codeNum", getCodeNum())
            .append("systemOnline", getSystemOnline())
            .append("appUpload", getAppUpload())
            .append("status", getStatus())
            .append("updateCopy", getUpdateCopy())
            .append("uploadTime", getUploadTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
